/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view.commands;

import com.sun.lwuit.Command;
import com.sun.lwuit.events.ActionEvent;
import core.TaxiMIDlet;

/**
 *
 * @author Kvest
 */
public class ExitCommand extends Command
{
    public ExitCommand()
    {
        super("exit");
    }

    public void actionPerformed(ActionEvent evt)
    {
        TaxiMIDlet.getMidlet().destroyApp(true);
                
        evt.consume();
    }
}
